#ifndef ATTITUDESOLUTION_H
#define ATTITUDESOLUTION_H

#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
class AttitudeSolution//进行位姿解算，得到距离、俯仰角和偏航角
{
public:
    double distance_pnp, pitch_angle_pnp, yaw_angle_pnp, distance_similarity, pitch_angle_similarity, yaw_angle_similarity;//两种方法算出来的角度和距离
    double* Similarity(Rect);//利用相似算
    double* Solvepnp(Rect);//利用solvepnp位姿解算
};

#endif